package pers.xukai.common.constant;

/**
 * @author 殷绪凯
 * @datetime 2022年 11月 29日 17:00
 */
public class GlobalConstant {

    /**
     * NANO_ID生成器名称
     */
    public static final String ID_GENERATOR_NANO = "NanoIdGenerator";

    /**
     * NANO_ID生成器路径
     */
    public static final String ID_GENERATOR_NANO_PATH = "pers.xukai.common.utils.NanoIdGenerator";

    /**
     * 成功
     */
    public static final String SUCCESS = "success";

    /**
     * 成功代码
     */
    public static final String SUCCESS_CODE = "200";

    /**
     * 错误
     */
    public static final String ERROR = "error";

    /**
     * 错误代码
     */
    public static final String ERROR_CODE = "500";

    /**
     * 失败
     */
    public static final String FAILURE = "failure";

    /**
     * 失败代码
     */
    public static final String FAILURE_CODE = "400";

    /**
     * 邮件定时任务key前缀
     */
    public static final String REDIS_KEY_EMAIL_TASK = "email$task$";

    /**
     * 电子邮件待办提醒标题
     */
    public static final String EMAIL_REMINDERS_TO_DO = "待办提醒";


}
